package com.gosophia.metadataEngine.dto;

import java.util.Date;

import org.apache.commons.lang.time.DateUtils;

import com.gosophia.commons.DateTranslate;

/**
 * 元数据--DataSourceInfoDto类
 * 
 * @author tianchunyu
 * @date 2010-9-19
 */
public class DataSourceInfoDto {

    // id;
    private Long dataSourceInfoId;
    // 版本控制
    private Long version;
    // 数据源名称
    private String name;
    // 是否显示sql
    private String showSql;
    // 标准sql
    private String formatSql;
    // 方言
    private String dialect;
    // 驱动类
    private String driverClass;
    // url
    private String url;
    // 用户名
    private String username;
    // 密码
    private String password;
    // 备注
    private String note;
    //创建时间
    private Date createTime;

    public Long getDataSourceInfoId() {
        return dataSourceInfoId;
    }

    public void setDataSourceInfoId(Long dataSourceInfoId) {
        this.dataSourceInfoId = dataSourceInfoId;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShowSql() {
        return showSql;
    }

    public void setShowSql(String showSql) {
        this.showSql = showSql;
    }

    public String getFormatSql() {
        return formatSql;
    }

    public void setFormatSql(String formatSql) {
        this.formatSql = formatSql;
    }

    public String getDialect() {
        return dialect;
    }

    public void setDialect(String dialect) {
        this.dialect = dialect;
    }

    public String getDriverClass() {
        return driverClass;
    }

    public void setDriverClass(String driverClass) {
        this.driverClass = driverClass;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
// /:~